package SGEngine

type ICompnent interface {
	CGetNode() INode
	CSetNode(INode)
}

type Compnent struct {
	node INode
}

func (c *Compnent) CGetNode() INode {
	return c.node
}

func (c *Compnent) CSetNode(node INode) {
	c.node = node
}

type CompnentFunc func(bool, INode) (ICompnent, string)
